package com.rest.impl;

import java.util.List;

import com.api.model.ApiEnvironment;
import com.rest.EnvironmentsService;

public class EnvironmentsServiceImpl implements EnvironmentsService {

	private final List<ApiEnvironment> environments;

	public EnvironmentsServiceImpl(List<ApiEnvironment> environments) {

		this.environments = environments;
	}

	@Override
	public List<ApiEnvironment> getEnvironments() {

		return environments;
	}

	@Override
	public String newOrEditEnvironment(ApiEnvironment environment) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String deleteEnvironment(String environmentName) {
		// TODO Auto-generated method stub
		return null;
	}
}
